package org.xinjiang.tarim.travel.service;

import org.xinjiang.tarim.travel.model.AttentionMdd;
import org.xinjiang.tarim.travel.vo.Criteria;
import org.xinjiang.tarim.travel.vo.PageBean;

import java.util.List;
import java.util.Map;

public interface AttentionMddService {
    PageBean<AttentionMdd> selectByConditionWithPage(Criteria criteria, PageBean pageBean);

    List<Map> selectByConditionWithOutPage(Criteria criteria);

    int deleteByPrimaryKey(AttentionMdd record);

    int deleteByUserId(String openid);

    int insert(AttentionMdd record);

    List<AttentionMdd> selectByOpenid(Criteria criteria);
}
